Skip to content

Conversation

@glemaitre
Copy link
Member

closes #1050

As specified, do not try to compute Brier score with an estimator that does not provide probability estimate (i.e. does not have a predict_proba method).

Added a non-regression test as well.

@augustebaum augustebaum changed the title fix: Do not allow brier score when predict_proba is not available fix: Do not compute Brier score when predict_proba is not available Jan 9, 2025
@augustebaum
Copy link
Contributor

Nice work, just a suggestion for the parametrize

Copy link
Contributor

@augustebaum augustebaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@augustebaum augustebaum merged commit 3c05371 into probabl-ai:main Jan 9, 2025
19 checks passed
waridrox pushed a commit to waridrox/skore that referenced this pull request Apr 15, 2025
…robabl-ai#1064)

closes probabl-ai#1050 

As specified, do not try to compute Brier score with an estimator that
does not provide probability estimate (i.e. does not have a
`predict_proba` method).

Added a non-regression test as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug for _get_scorers_to_add with binary classification with classifier that expose predict_proba

2 participants